package models

import "time"

type SensorItem struct {
	Id            uint64    `gorm:"primaryKey;comment:Id"`
	Name          string    `gorm:"comment:员工名字"`
	CardNo        string    `gorm:"comment:卡号"`
	WorkUnit      string    `gorm:"comment:工作单位"`
	WorkPlace     string    `gorm:"comment:工作地点"`
	GlobalSteelNo string    `gorm:"comment:全局钢带编号"`
	ShiftSteelNo  string    `gorm:"comment:本班钢带编号"`
	AnchorBoltNo  string    `gorm:"comment:锚索编号"`
	Pressure      string    `gorm:"comment:压力值"`
	GmtModify     time.Time `gorm:"comment:更新时间"`
	GmtCreate     time.Time `gorm:"comment:创建时间"`
}

func (SensorItem) TableName() string {
	return "sensor_report_data"
}
